  <jsp:include page="../../common/header.jsp" />
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
                    <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">                    
      <div id="content-header"> 
		  <h1>Student Details</h1>
		  <h3>View Details</h3>
		  <div id="app-back-button">							
		    <a onclick="history.back(); return false;" href="#"><button class="btn btn-primary btn-lg" type="button">Back</button></a>
		  </div>		  
		 <hr>
		</div>
               
                <div class="col-lg-4">
                                      <form role="form" action="updateSection.htm" class="new_course" id="new_course" method="post">
                                       <div class="form-group">
                                            <label>Selects Class</label>
                                            <select class="form-control" name="classId" id="classId">
									            <option value="">Select</option>
									            <c:forEach var="clas" items="${classList}">
									            <option value="${clas.classId}" <c:if test="${editSection.classId == clas.classId}}"> selected="selected" </c:if>>${clas.name} (${clas.code})</option>
									            </c:forEach>
                                            </select>
                                        </div>
                                        
                                        
                                        <div class="form-group">
                                            <label>Enter section Name</label>
                                            <input class="form-control" id="class_name" name="name" value="${editSection.name}">
                                            
                                        </div>
                                        <div class="form-group">
                                            <label>Enter Start Date</label>
                                            <input class="form-control" id="section_start_date" name="startDate" value="${editSection.startDate}">
                                            
                                        </div>
                                        <div class="form-group">
                                            <label>Enter End Date</label>
                                            <input class="form-control" id="section_end_date" name="endDate" value="${editSection.endDate}">
                                            
                                        </div>
                                        <br >
                                        <div align="center">
                                        <button type="submit" class="btn btn-primary">Save</button>
                                        <button type="reset" class="btn btn-primary">Reset</button>
                                        </div>
                                     <input name="id" type="hidden" value="${param.id }" />
                                    </form>
                                  
                </div>
                
                <!-- /.col-lg-12 -->
            </div>
        </div>
 </div>
<jsp:include page="../../common/footer.jsp" />

